package com.zzz.robot201.utils;

import android.text.TextUtils;

import com.blankj.utilcode.util.ToastUtils;
import com.jess.arms.utils.ArmsUtils;
import com.zzz.robot201.R;
import com.zzz.robot201.app.global.AppController;

public class ToastUtil {
    private ToastUtil() {
        throw new UnsupportedOperationException("u can't instantiate me...");
    }




    public static void showToast(String msg){
        if(TextUtils.isEmpty(msg)){
            return;
        }
        ToastUtils.setBgColor(ArmsUtils.getColor(AppController.getInstance().getContext(), R.color.white));
        ToastUtils.showShort(msg);
    }
}
